
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

using EvaluationSystem.Dto;

namespace EvaluationSystem.Models
{
    [Table("people")]
    public class People
    {
        //[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int PeopleId { get; set; }

        public string? Number { get; set; }

        public string? Name { get; set; }

        public string? Password { get; set; }

        public Identity? Career { get; set; }

        public DateTime CreatedAt { get; set; } = DateTime.Now;


        [NotMapped]
        public List<TeacherWithCourse>? TeacherWithCourses { get; set; }

        [NotMapped]
        public List<StudentEvalCourse>? StudentEvalCourses { get; set; }

        [NotMapped]
        public List<Notify>? Notifies { get; set; }
    }
}